package com.niuwa.p2p.dao.fund;

import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.fund.AccountBankcard;
import com.niuwa.p2p.entity.fund.AccountBankcardKey;

@MyBatisDao
public interface AccountBankcardDao {
    int deleteByPrimaryKey(AccountBankcardKey key);

    int insert(AccountBankcard record);

    int insertSelective(AccountBankcard record);

    AccountBankcard selectByPrimaryKey(AccountBankcardKey key);

    int updateByPrimaryKeySelective(AccountBankcard record);

    int updateByPrimaryKey(AccountBankcard record);
    
    /**
     * 资金账户绑定的银行卡【web】 
     * @param paramMap [acctNo 账户号、status 银行卡状态]
     * @return
     */
    AccountBankcard selectBankCardBySelective(Map<String, Object> paramMap);
}